<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/9/3 0003
 * Time: 下午 5:39
 */
namespace app\api\controller;

use think\Controller;
use app\api\service\Token as TokenService;

class Base extends Controller{
    public $pagelength = 20;
    protected function checkPrimaryScope(){
        TokenService::needPrimaryScope();

    }
    protected function checkExclusiveScope(){
        TokenService::needExclusiveScope();

    }
}